<?php session_start(); ?>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="pHctrl">
    <meta name="author" content="pHctrl">
    <link rel="icon" href="./chart/public/pic/pHctrlico.ico">

    <title>Welcome to pHctrl</title>

    <!-- Bootstrap core CSS -->
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="bootstrap/navbar-static-top.css" rel="stylesheet">
	<link href="bootstrap/signin.css" rel="stylesheet">
	<style type="text/css">
	.bg{background:url("./chart/public/pic/grass.jpg") no-repeat center fixed;background-size:contain}
	</style>
  </head>
  <head></head>
  <body class="bg">
	
    <!-- Static navbar -->

    <nav class="navbar navbar-default navbar-static-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">pHctrl</a>
        </div>
		
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            
          </ul>
          

    <!--/.nav-collapse -->

      </div>
    </nav>



    <div class="container">

        <form class="form-signin" method="post" action="./chart/index.php">
            <h2 class="form-signin-heading">Please sign in</h2>
            <label for="inputUid" class="sr-only">Uid</label>
            <input type="text" name="uid" id="inputUid" class="form-control" placeholder="Uid"  required autofocus>
            <label for="inputPassword" class="sr-only">Password</label>
            <input type="password" name="password" id="inputPassword" class="form-control" placeholder="Password" required>
            <!--<div class="checkbox">
                <label>
                    <input type="checkbox" value="remember-me"> Remember me
                </label>
            </div>-->
			<label for="inputCAPTCHA" class="sr-only">Captcha</label>
			<input type="text" name="captcha" id="inputCaptcha" class="form-control" placeholder="captcha" />
			<img src="./cpc/captcha.php" id="captcha" /><br/>
			<a href="#" onclick="
				document.getElementById('captcha').src='./cpc/captcha.php?'+Math.random();"
				>Not readable? Change text.</a>

            <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
			
        </form>

    </div> <!-- /container -->



    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="bootstrap/jquery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="bootstrap/ie10-viewport-bug-workaround.js"></script>

  </body>
</html>
